package com.sjksy.demo.dto.ledger;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LedgerGuideStatisticDto {
    private Integer guideId; // 对应 g.guide_id
    private String guideName; // 对应 e.name as guide_name
    private String guideNumber; // 对应 g.guide_number
    private Integer guideLevel; // 对应 g.guide_level
    private String branchName; // 对应 b.branch_name as branch_name
    private String branchPosition; // 对应 b.branch_position
    private Long tourCount; // 对应 COUNT(l.ledger_id) as tour_count
    private BigDecimal totalSales; // 对应 SUM(tc.money) as total_sales
}
